/*jslint maxerr: 50, indent: 4, browser: true */
/*global define */

(function () {
    "use strict";

    define("array.contains", ["mergeModules", "array.indexOf"], function (make) {
        var buri = make.mergeModules(arguments),
            config = {
                "compatability": {}
            };

        function contains(array, element) {
            return buri.array.indexOf(array, element) !== -1;
        }

        contains.init = function (options) {
            buri.init(config, options);
            buri.array.indexOf(config);
        };

        return {
            "array": {
                "contains": contains
            }
        };
    });
}());
